package com.admin.common.util;

import com.admin.common.enums.CodeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: xj-shop
 * @description:
 * @author: 徐健
 * @create: 2022-09-01 11:02
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Rest<T> {
    private CodeEnum code;
    private String msg;
    private T data;
}
